package com.xilihui.xlh.business.activitys;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;

import com.umeng.commonsdk.debug.I;
import com.xilihui.xlh.R;
import com.xilihui.xlh.core.app.BaseCompatActivity;

import butterknife.OnClick;

/**
 * Created by Administrator on 2018/7/14.
 */

public class ProtocolActivity extends BaseCompatActivity{
    
    
    Intent intent;
    
    @Override
    public int getLayout() {
        return R.layout.activity_protocol;
    }

    @Override
    public String initTitle() {
        return "服务协议";
    }

    @Override
    public void initUI(@Nullable Bundle savedInstanceState) {

    }

    @Override
    public void initData() {

    }
    
    @OnClick(R.id.ll_xieyi)
    public void xieyi(){
        intent = new Intent(ProtocolActivity.this,WebActivity.class);
        intent.putExtra("type",1);
        startActivity(intent);
    }
    
    @OnClick(R.id.ll_yhgz)
    public void yhgz(){
        intent = new Intent(ProtocolActivity.this,WebActivity.class);
        intent.putExtra("type",2);
        startActivity(intent);
    }
    
    @OnClick(R.id.ll_grxx)
    public void grxx(){
        intent = new Intent(ProtocolActivity.this,WebActivity.class);
        intent.putExtra("type",4);
        startActivity(intent);
    }
    
}
